import { serviceFront } from './axios.js';
export function getChildrenNode(id) {
  return serviceFront({
    url: `project/getChildrenNode?id=${id}`,
    method: 'get',
  });
}

export function getChildren(id) {
  return serviceFront({
    url: `project/getChildren?id=${id}`,
    method: 'get',
  });
}

export function getPoints(data) {
  return serviceFront({
    url: `project/getPoints`,
    method: 'post',
    data
  });
}